namespace CSharpPro._1030;

public class Child:Father
{
    public Child()
    {
        Console.WriteLine("Son---------Constructor");
    }

    public Child(int id) : base(id)
    {
        this.Id = id;
    }

    public override void Print()
    {
        Console.WriteLine("Son--------Print" );
    }

    // public override void M1()
    // {
    //     Console.WriteLine("Son M1");
    // }
}